//解析excel表格
var XLS = require('xlsjs');
exports.parseExcel = function(file_path){
	var rows = [];
	var workbook = XLS.readFile(file_path);
	var sheet_name_list = workbook.SheetNames;
	var ws = workbook.Sheets[sheet_name_list[0]];
	var alpha = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
	var range = ws['!range'];
	for(var R = range.s.r+1;R<= range.e.r;R++){
		var row = [];
		for(var C = range.s.c+1;C<=range.e.c;C++){
			var cell = ws[alpha[C-1]+R];
			row[C-1] = cell.v;
		}
		rows.push(row);
	}
	return rows;
}